package cn.com.czpb.client.model.usercenter;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017/7/14.
 */

public class ComBean implements MultiItemEntity {


    /**
     * uid : 47
     * nickname : 你哈 按时的
     * avatar_path : http://120.92.15.24/Public/Uploads/avatar/201707/13/1499938151_37985.jpg
     * commenttype : 1
     * cid : 712
     * content : jsijoi
     * count : 0
     * praise : 0
     * dateline : 8分钟前
     * ispraise : 0
     * replyto : {}
     * info : {"contenttype":"1","contentid":"104","title":"海归大熊猫\u201c林冰\u201d诞下龙凤胎","rtype":"1","copyfrom":"","type":"4","imgs":["http://120.92.18.161/Public/Uploads/thumb/1499995716.jpg","http://120.92.18.161/Public/Uploads/thumb/1499995723.jpg","http://120.92.18.161/Public/Uploads/thumb/1499995729.jpg"],"comcount":"0"}
     */

    @SerializedName("uid")
    private String uid;
    @SerializedName("nickname")
    private String nickname;
    @SerializedName("avatar_path")
    private String avatarPath;
    @SerializedName("commenttype")
    private String commenttype;
    @SerializedName("cid")
    private String cid;
    @SerializedName("content")
    private String content;
    @SerializedName("count")
    private String count;
    @SerializedName("praise")
    private String praise;
    @SerializedName("dateline")
    private String dateline;
    @SerializedName("ispraise")
    private String ispraise;
    @SerializedName("replyto")
    private ReplytoEntity replyto;
    @SerializedName("info")
    private InfoEntity info;


    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setAvatarPath(String avatarPath) {
        this.avatarPath = avatarPath;
    }

    public void setCommenttype(String commenttype) {
        this.commenttype = commenttype;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public void setPraise(String praise) {
        this.praise = praise;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

    public void setIspraise(String ispraise) {
        this.ispraise = ispraise;
    }

    public void setReplyto(ReplytoEntity replyto) {
        this.replyto = replyto;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getUid() {
        return uid;
    }

    public String getNickname() {
        return nickname;
    }

    public String getAvatarPath() {
        return avatarPath;
    }

    public String getCommenttype() {
        return commenttype;
    }

    public String getCid() {
        return cid;
    }

    public String getContent() {
        return content;
    }

    public String getCount() {
        return count;
    }

    public String getPraise() {
        return praise;
    }

    public String getDateline() {
        return dateline;
    }

    public String getIspraise() {
        return ispraise;
    }

    public ReplytoEntity getReplyto() {
        return replyto;
    }

    public InfoEntity getInfo() {
        return info;
    }

    @Override
    public int getItemType() {
        return 0;
    }

    public static class ReplytoEntity {
    }

    public static class InfoEntity {
        /**
         * contenttype : 1
         * contentid : 104
         * title : 海归大熊猫“林冰”诞下龙凤胎
         * rtype : 1
         * copyfrom :
         * type : 4
         * imgs : ["http://120.92.18.161/Public/Uploads/thumb/1499995716.jpg","http://120.92.18.161/Public/Uploads/thumb/1499995723.jpg","http://120.92.18.161/Public/Uploads/thumb/1499995729.jpg"]
         * comcount : 0
         */

        @SerializedName("contenttype")
        private String contenttype;
        @SerializedName("contentid")
        private String contentid;
        @SerializedName("title")
        private String title;
        @SerializedName("rtype")
        private String rtype;
        @SerializedName("copyfrom")
        private String copyfrom;
        @SerializedName("type")
        private String type;
        @SerializedName("comcount")
        private String comcount;
        @SerializedName("imgs")
        private List<String> imgs;
        @SerializedName("videourl")
        private String videourl;



        public String getVideourl() {
            return videourl;
        }

        public void setVideourl(String videourl) {
            this.videourl = videourl;
        }
        public void setContenttype(String contenttype) {
            this.contenttype = contenttype;
        }

        public void setContentid(String contentid) {
            this.contentid = contentid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setRtype(String rtype) {
            this.rtype = rtype;
        }

        public void setCopyfrom(String copyfrom) {
            this.copyfrom = copyfrom;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setComcount(String comcount) {
            this.comcount = comcount;
        }

        public void setImgs(List<String> imgs) {
            this.imgs = imgs;
        }

        public String getContenttype() {
            return contenttype;
        }

        public String getContentid() {
            return contentid;
        }

        public String getTitle() {
            return title;
        }

        public String getRtype() {
            return rtype;
        }

        public String getCopyfrom() {
            return copyfrom;
        }

        public String getType() {
            return type;
        }

        public String getComcount() {
            return comcount;
        }

        public List<String> getImgs() {
            return imgs;
        }
    }

}
